var express = require('express')
var router = express.Router()
const eventService = require('../service/eventService')

router.post('/event/createEvent', eventService.createEvent);

router.get('/event/list', eventService.getAllEvents);

module.exports = router